#python可以从两端进行比较
a = 0.1
b = 0.3
print(-0.00001 < a - b < 0.000001)

#逻辑判断 and && or || not !
a = 10
b = 20
c = 30
print(a < b and b > c)
print(a < b or b > c)
print(not a < b)
#python和C与C++一样也有短路求值